package javase0829;

import java.io.Serializable;

/**
 * 菜品
 */
public class ScDish implements Serializable {

    /**
     * 主键编号
     */
    private int no;
    /**
     *
     * 菜品名称
     */

    private String name;
    /**
     * 菜品价格
     */
    private int price;

    public ScDish(int no, String name, int price) {
        this.no = no;
        this.name = name;
        this.price = price;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
